package com.java_foundation.thread_demo.test_6;

/**
 * @program: java_foundation
 * @description: 测试
 * @author: xiongbangwen <Email>xiongbangwen@163.com</Email>
 * @create: 2020-06-21 16:38
 **/
public class Test {
    public static void main(String[] args) throws InterruptedException {
        WaitDemo wd = new WaitDemo();
        wd.threadA.start();
        wd.threadB.start();
        wd.threadA.join();
        wd.threadB.join();
        System.out.println("main方法结束");
    }
}
